home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 26 (Anniversary Edition)
/
Volume 26 [Anniversary Edition] - JOGO DISK .iso
/
Fight
/
turtlesNinja.swf
/
scripts
/
DefineButton2_147
/
BUTTONCONDACTION on(release).as
Wrap
Text File
|
2006-05-08
|
631b
|
27 lines
on(release){
_root.intro.entercheats._visible = false;
if(_root.showEm)
{
trace("showEm");
_root.showCheats();
}
if(_root.gameOver == false)
{
trace("restarting at same level");
this.hideMe();
_root.scripts.resetGame(_root.level);
_root.gameStatus = "ready";
_root.sounder.gotoAndPlay("starter");
_root.gameOn = true;
}
else
{
trace("restarting at new game");
_root.scripts.newGame();
_root.scripts.resetGame(_root.level);
_root.gameStatus = "ready";
this.hideMe();
_root.gameOn = true;
}
}